<?php
    @header("Content-type:text/html;charset=utf-8");
    const host = "b-ztine5remxnury.bch.rds.gz.baidubce.com";
    const user = "b_ztine5remxnury";
    const pwd = "12345678";
    const daName = "b_ztine5remxnury";
    $conn = mysqli_connect(host,user,pwd,daName);
    mysqli_query($conn,"set names utf8");
    mysqli_query($conn,"set charset set utf-8");

    if(!$conn){
        exit("数据库链接失败");
    }
?>